package com.chw.admin.lookup;

import java.util.List;

import com.github.pagehelper.PageInfo;

public abstract interface ISysLookupValueService {

	// 新增
	// public abstract int addEntity(SysLookupValue entity);
	public abstract int addEntity(SysLookupType sysLookupType, List<SysLookupValue> sysLookupValue);

	// 删除
	public abstract int deleteEntity(String lookupType);

	// 更新
	// public abstract int updateEntity(SysLookupValue entity);
	public abstract int updateEntity(SysLookupType sysLookupType, List<SysLookupValue> sysLookupValue);

	// // 查询
	// public abstract SysLookupValue getEntityById(String id);

	// 查询 id
	public abstract SysLookup getEntityById(String id);

	// 分页查询
	public abstract PageInfo<SysLookupValue> findEntity(SysLookupValue entity, Integer currentPage, Integer pageSize);

	// 分页查询
	public abstract PageInfo<SysLookupType> findEntity(SysLookupType entity, Integer currentPage, Integer pageSize);

}